package com.jsmtr.rms.entity;

import java.util.Map;

/**
 * @author wyh
 */
public class LimitRequest {
    private int page;

    private int limit;

    private String orderKey;

    private String orderType;

    private Map<String, Object> search;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getOrderKey() {
        return orderKey;
    }

    public void setOrderKey(String orderKey) {
        this.orderKey = orderKey;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Map<String, Object> getSearch() {
        return search;
    }

    public void setSearch(Map<String, Object> search) {
        this.search = search;
    }

    public LimitRequest(int page, int limit, String orderKey, String orderType, Map<String, Object> search) {
        this.page = page;
        this.limit = limit;
        this.orderKey = orderKey;
        this.orderType = orderType;
        this.search = search;
    }

    public LimitRequest() {

    }
}
